<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>销售车辆</title>
    <th:block th:include="statics/common/page/header"></th:block>
</head>
<body>
<div id="rrapp" v-cloak>
	<div v-show="showList">
        <Row class="search-panel-space">
            <div class="search-group">
                <i-col span="5">
                	<label class="search-label-20">姓名:</label>
                    <i-input v-model="q.name" @on-enter="query" placeholder="名称" class="search-item-width-75"/>
                </i-col>
                <i-col span="5">
                	<label class="search-label-20">手机号:</label>
                    <i-input v-model="q.name" @on-enter="query" placeholder="名称" class="search-item-width-75"/>
                </i-col>
                <i-col span="5">
                	<label class="search-label-20">年月:</label>
                    <i-input v-model="q.name" @on-enter="query" placeholder="名称" class="search-item-width-75"/>
                </i-col>
                <i-button @click="query">查询</i-button>
                <i-button @click="reloadSearch">重置</i-button>
            </div>
        </Row>    
        <Row :gutter="16">
            <div class="buttons-group">
                <!-- <i-button type="info" @click="updateDiscount" th:if="${@shiroAuthService.hasPermission('salecar:save')}">
                	<i class="fa fa-plus"></i>&nbsp;厂家返利</i-button>
                <i-button type="warning" @click="updateRoyalty" th:if="${@shiroAuthService.hasPermission('salecar:update')}">
                	<i class="fa fa-pencil-square-o"></i>&nbsp;绩效设置</i-button> -->
            </div>
        </Row>
	    <table id="jqGrid"></table>
    </div>

	<Card v-show="!showList">
        <p slot="title">{{title}}</p>
		<i-form ref="formValidate" :model="productDiscount" :label-width="80" th:utext="${@baseProfitItem.hasDiscountItems()}">
        </i-form>
	</Card>
	
</div>

<script th:src="@{../statics/js/sale/salesalary.js}"></script>
</body>
</html>